package org.jeecg.modules.wangyue.service;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.wangyue.entity.WithdrawalReview;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.wangyue.model.req.ReqUserRoleInfoModel;

/**
 * @Description: 提现审核表
 * @Author: jeecg-boot
 * @Date:   2023-06-30
 * @Version: V1.0
 */
public interface IWithdrawalReviewService extends IService<WithdrawalReview> {

    /**
     * 用户提现(用户端)
     *
     * @param reqUserRoleInfoModel
     * @return
     */
    Result<?> userWithdrawal(ReqUserRoleInfoModel reqUserRoleInfoModel);

    /**
     * 申请提现操作(技师端)
     *
     * @param withdrawalReview
     * @return
     */
    Result<?> jsApplyForWithdrawal(WithdrawalReview withdrawalReview);


    /**
     * 技师提现驳回(管理端)
     *
     * @param id    提现申请表唯一id
     * @return
     */
    Result<?> jsWithdrawalReject(String id);


    /**
     * 技师提现审核通过(管理端)
     *
     * @param id    提现申请表唯一id
     * @return
     */
    Result<?> jsWithdrawalPass(String id);

}
